博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String
阅读量:5319 次
发布时间:2019-06-14

本文共 12644 字,大约阅读时间需要 42 分钟。

1 严重: Servlet.service() for servlet jsp threw exception 2 javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String 3     at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290) 4     at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243) 5     at javax.el.BeanELResolver.property(BeanELResolver.java:377) 6     at javax.el.BeanELResolver.getValue(BeanELResolver.java:97) 7     at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104) 8     at org.apache.el.parser.AstValue.getValue(AstValue.java:184) 9     at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)10     at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)11     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)12     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)13     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)14     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)15     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)16     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)17     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)18     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)19     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)20     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)21     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)22     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)23     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)24     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)25     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)26     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)27     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)28     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)29     at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)30     at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)31     at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)32     at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)33     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)34     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)35     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)36     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)37     at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)38     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)39     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)40     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)41     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)42     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)43     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)44     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)45     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)46     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)47     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)48     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)49     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)50     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)51     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)52     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)53     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)54     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)55     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)56     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)57     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)58     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)59     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)60     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)61     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)62     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)63     at java.lang.Thread.run(Thread.java:745)64 65 三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke66 严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 15467 68 151:                                                 

绫诲埆锛?鎶?鑳芥湇鍔?

69 152: 70 153:
71 154:
72 155:
73 156:
74 157:

鎶?鑳藉悕绉帮細${sceneSkill.skillName }

75 76 77 Stacktrace:] with root cause

原因是:items的${}没写,直接写成了集合名称

错误原因:items="sceneSkills"  

 

 

错误纠正:items=${

sceneSkills}

  

严重: Servlet.service() for servlet jsp threw exceptionjavax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.Stringat javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290)at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243)at javax.el.BeanELResolver.property(BeanELResolver.java:377)at javax.el.BeanELResolver.getValue(BeanELResolver.java:97)at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)at org.apache.el.parser.AstValue.getValue(AstValue.java:184)at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)at java.lang.Thread.run(Thread.java:745)

三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 154
151: <p>绫诲埆锛?<span>鎶?鑳芥湇鍔?</span></p>152: </div>153: <div class="m">154: <div><img src="${IMGPath}/${sceneSkill.imgUrl}"></div>155: <div>156: <div class="up clearfix">157: <p>鎶?鑳藉悕绉帮細<span>${sceneSkill.skillName }</span></p>
Stacktrace:] with root cause

转载于:https://www.cnblogs.com/coreyjk/p/6546867.html

你可能感兴趣的文章
以Qemu模拟Linux,学习Linux内核
查看>>
Hadoop 综合大作业
查看>>
hexo安装
查看>>
python日期及时间格式转换
查看>>
MSP与PSP
查看>>
Android 使用RecyclerView SnapHelper详解
查看>>
Android开发学习:[15]自动导入包
查看>>
Struts2+JFreeChart
查看>>
touch事件记录
查看>>
[C语言 - 9] typedef
查看>>
在100万个数中找到最大的十个数
查看>>
java.io.File中的绝对路径和相对路径
查看>>
spring boot项目升级到2.0.1,提示java.lang.ClassNotFoundException: org.apache.log4j.Logger错误...
查看>>
二、Spring容器使用
查看>>
字符串:格式化 - 零基础入门学习Python015
查看>>
第一个程序 - Windows程序设计(SDK)001
查看>>
二分法原理
查看>>
容器和算法2 - C++快速入门48(完)
查看>>
OpenCV.学习OpenCV.pdf
查看>>
Scala 隐式转换 重要一点 什么是隐式转换以及隐式转换带来的好处
查看>>